package com.suray.attendance.model.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Description: 工单实体类
 * Author: linyu
 * Date: 2023/11/13
 */
@Data
@ApiModel(value = "Mo")
@TableName("mo")
public class Mo implements Serializable {
    private String doc_no; //  单号 "5140-23042911",
    private String doc_date; //  单据类型 "2023-04-28 00:00:00",
    private String item_name; //  产品品名 "母轨2",
    private String item_spec; //  产品规格 "JNQL-ZHWS-30-00-00-00",
    private String bom_version; //  BOM 班次 "0000",
    private String bom_date; //  BOM日期 "2023-04-26 00:00:00",
    private Boolean is_emergency; //  true,  是否紧急
    private String status; //  状态码 "Y",
    private Boolean is_wo_batch; //  批工单 false,
    private BigDecimal plan_qty; //  预计产量 4.0,
    private BigDecimal stock_in_application_qty; // 入库申请数量 0,
    private BigDecimal stock_in_qty; //  已入库量 4.0,
    private BigDecimal scrap_qty; //  报废数量 0,
    private BigDecimal damage_qty; //  破坏数量 0,
    private String plan_start_date; //  预计开工日期 "2023-04-26 00:00:00",
    private String plan_complete_date; //  预计完工日期 "2023-05-10 00:00:00",
    private String actual_start_date; //  实际开工日期 "2023-06-10 00:00:00",
    private String actual_complete_date; //  实际完工日期 "2023-11-11 00:00:00",
    private String plan_lot_no; //  计划批号 "M10119-00075",
    private String remark; //  "齐鲁制药5000单元线边库项目货架",
    private String stock_in_application; //  false, 入库申请
    private String demand_no; //  "2910-23040270-1-1", 需求单号
    private String source_type_key; //  "PLANT", 组织类型
    private String om_site_id; //  "AG", 工厂编号
    private String plant_name; //  "安徽生产", 工厂名称
    private String doc_type_no; //  "5140", 单据类型
    private String doc_type_name; //  "厂内工单", 单据名称
    private String item_no; //  "JNQL0310100014", 产品品名
    private String unit_no; //  "PCS", 单位编号
    private String unit_name; //  "PCS", 单位名称
    private String production_control_no; //  "AG123005", 生管人员编号
    private String production_control_name; //  "孙艳", 生管人员名称
    private String production_control_department_no; //  "AG70500", 生管部门编号
    private String production_control_department_name; //  "机电部", 生管部门名称
    private String workstation_source_type_key; //  "WORK_CENTER", 性质
    private String workstation_no; //  "AG70300", 工作中心编号
    private String workstation_name; //  "焊接部",  工作中心名称
    private String production_department_no; // "AG70000" 生产部门编码
    private String production_department_name; // "制造中心" 生产部门名称
    private String source_wo_no; // 源工单单号
    private String upper_level_wo_no; // 上阶工单号
    private String mother_wo_no; // 母工单单号 5140-23042911
    private String project_no; // 项目编号
    private String project_name; // 项目名称
    private String approve_status; //
    private String stock_in_warehouse_no; // "AG902-2"
    private String stock_in_warehouse_name; // "半成品仓（虚拟仓）"
    private String plot_no;
    private String teamwork_no;
    private String teamwork_name;
    private String approver_no;
    private String approver_name;
    private String approve_date; // "2023-04-28 11:49:40"
    private String create_user_no;
    private String create_user_name;
    private String create_date; // "2023-04-28 11:46:53"
    private String last_modify_user_no;
    private String last_modify_user_name;
    private String last_modify_date; // "2023-11-11 14:39:04"
    private String modify_user_no;
    private String modify_user_name;
    private String modify_date; // "2023-11-11 14:39:04"
    private List<com.suray.attendance.model.bean.MoDetail> wo_detail;

    public String getDoc_no() {
        return doc_no;
    }

    public void setDoc_no(String doc_no) {
        this.doc_no = doc_no;
    }

    public String getDoc_date() {
        return doc_date;
    }

    public void setDoc_date(String doc_date) {
        this.doc_date = doc_date;
    }

    public String getItem_name() {
        return item_name;
    }

    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }

    public String getItem_spec() {
        return item_spec;
    }

    public void setItem_spec(String item_spec) {
        this.item_spec = item_spec;
    }

    public String getBom_version() {
        return bom_version;
    }

    public void setBom_version(String bom_version) {
        this.bom_version = bom_version;
    }

    public String getBom_date() {
        return bom_date;
    }

    public void setBom_date(String bom_date) {
        this.bom_date = bom_date;
    }

    public Boolean getIs_emergency() {
        return is_emergency;
    }

    public void setIs_emergency(Boolean is_emergency) {
        this.is_emergency = is_emergency;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Boolean getIs_wo_batch() {
        return is_wo_batch;
    }

    public void setIs_wo_batch(Boolean is_wo_batch) {
        this.is_wo_batch = is_wo_batch;
    }

    public BigDecimal getPlan_qty() {
        return plan_qty;
    }

    public void setPlan_qty(BigDecimal plan_qty) {
        this.plan_qty = plan_qty;
    }

    public BigDecimal getStock_in_application_qty() {
        return stock_in_application_qty;
    }

    public void setStock_in_application_qty(BigDecimal stock_in_application_qty) {
        this.stock_in_application_qty = stock_in_application_qty;
    }

    public BigDecimal getStock_in_qty() {
        return stock_in_qty;
    }

    public void setStock_in_qty(BigDecimal stock_in_qty) {
        this.stock_in_qty = stock_in_qty;
    }

    public BigDecimal getScrap_qty() {
        return scrap_qty;
    }

    public void setScrap_qty(BigDecimal scrap_qty) {
        this.scrap_qty = scrap_qty;
    }

    public BigDecimal getDamage_qty() {
        return damage_qty;
    }

    public void setDamage_qty(BigDecimal damage_qty) {
        this.damage_qty = damage_qty;
    }

    public String getPlan_start_date() {
        return plan_start_date;
    }

    public void setPlan_start_date(String plan_start_date) {
        this.plan_start_date = plan_start_date;
    }

    public String getPlan_complete_date() {
        return plan_complete_date;
    }

    public void setPlan_complete_date(String plan_complete_date) {
        this.plan_complete_date = plan_complete_date;
    }

    public String getActual_start_date() {
        return actual_start_date;
    }

    public void setActual_start_date(String actual_start_date) {
        this.actual_start_date = actual_start_date;
    }

    public String getActual_complete_date() {
        return actual_complete_date;
    }

    public void setActual_complete_date(String actual_complete_date) {
        this.actual_complete_date = actual_complete_date;
    }

    public String getPlan_lot_no() {
        return plan_lot_no;
    }

    public void setPlan_lot_no(String plan_lot_no) {
        this.plan_lot_no = plan_lot_no;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStock_in_application() {
        return stock_in_application;
    }

    public void setStock_in_application(String stock_in_application) {
        this.stock_in_application = stock_in_application;
    }

    public String getDemand_no() {
        return demand_no;
    }

    public void setDemand_no(String demand_no) {
        this.demand_no = demand_no;
    }

    public String getSource_type_key() {
        return source_type_key;
    }

    public void setSource_type_key(String source_type_key) {
        this.source_type_key = source_type_key;
    }

    public String getOm_site_id() {
        return om_site_id;
    }

    public void setOm_site_id(String om_site_id) {
        this.om_site_id = om_site_id;
    }

    public String getPlant_name() {
        return plant_name;
    }

    public void setPlant_name(String plant_name) {
        this.plant_name = plant_name;
    }

    public String getDoc_type_no() {
        return doc_type_no;
    }

    public void setDoc_type_no(String doc_type_no) {
        this.doc_type_no = doc_type_no;
    }

    public String getDoc_type_name() {
        return doc_type_name;
    }

    public void setDoc_type_name(String doc_type_name) {
        this.doc_type_name = doc_type_name;
    }

    public String getItem_no() {
        return item_no;
    }

    public void setItem_no(String item_no) {
        this.item_no = item_no;
    }

    public String getUnit_no() {
        return unit_no;
    }

    public void setUnit_no(String unit_no) {
        this.unit_no = unit_no;
    }

    public String getUnit_name() {
        return unit_name;
    }

    public void setUnit_name(String unit_name) {
        this.unit_name = unit_name;
    }

    public String getProduction_control_no() {
        return production_control_no;
    }

    public void setProduction_control_no(String production_control_no) {
        this.production_control_no = production_control_no;
    }

    public String getProduction_control_name() {
        return production_control_name;
    }

    public void setProduction_control_name(String production_control_name) {
        this.production_control_name = production_control_name;
    }

    public String getProduction_control_department_no() {
        return production_control_department_no;
    }

    public void setProduction_control_department_no(String production_control_department_no) {
        this.production_control_department_no = production_control_department_no;
    }

    public String getProduction_control_department_name() {
        return production_control_department_name;
    }

    public void setProduction_control_department_name(String production_control_department_name) {
        this.production_control_department_name = production_control_department_name;
    }

    public String getWorkstation_source_type_key() {
        return workstation_source_type_key;
    }

    public void setWorkstation_source_type_key(String workstation_source_type_key) {
        this.workstation_source_type_key = workstation_source_type_key;
    }

    public String getWorkstation_no() {
        return workstation_no;
    }

    public void setWorkstation_no(String workstation_no) {
        this.workstation_no = workstation_no;
    }

    public String getWorkstation_name() {
        return workstation_name;
    }

    public void setWorkstation_name(String workstation_name) {
        this.workstation_name = workstation_name;
    }

    public String getProduction_department_no() {
        return production_department_no;
    }

    public void setProduction_department_no(String production_department_no) {
        this.production_department_no = production_department_no;
    }

    public String getProduction_department_name() {
        return production_department_name;
    }

    public void setProduction_department_name(String production_department_name) {
        this.production_department_name = production_department_name;
    }

    public String getSource_wo_no() {
        return source_wo_no;
    }

    public void setSource_wo_no(String source_wo_no) {
        this.source_wo_no = source_wo_no;
    }

    public String getUpper_level_wo_no() {
        return upper_level_wo_no;
    }

    public void setUpper_level_wo_no(String upper_level_wo_no) {
        this.upper_level_wo_no = upper_level_wo_no;
    }

    public String getMother_wo_no() {
        return mother_wo_no;
    }

    public void setMother_wo_no(String mother_wo_no) {
        this.mother_wo_no = mother_wo_no;
    }

    public String getProject_no() {
        return project_no;
    }

    public void setProject_no(String project_no) {
        this.project_no = project_no;
    }

    public String getProject_name() {
        return project_name;
    }

    public void setProject_name(String project_name) {
        this.project_name = project_name;
    }

    public String getApprove_status() {
        return approve_status;
    }

    public void setApprove_status(String approve_status) {
        this.approve_status = approve_status;
    }

    public String getStock_in_warehouse_no() {
        return stock_in_warehouse_no;
    }

    public void setStock_in_warehouse_no(String stock_in_warehouse_no) {
        this.stock_in_warehouse_no = stock_in_warehouse_no;
    }

    public String getStock_in_warehouse_name() {
        return stock_in_warehouse_name;
    }

    public void setStock_in_warehouse_name(String stock_in_warehouse_name) {
        this.stock_in_warehouse_name = stock_in_warehouse_name;
    }

    public String getPlot_no() {
        return plot_no;
    }

    public void setPlot_no(String plot_no) {
        this.plot_no = plot_no;
    }

    public String getTeamwork_no() {
        return teamwork_no;
    }

    public void setTeamwork_no(String teamwork_no) {
        this.teamwork_no = teamwork_no;
    }

    public String getTeamwork_name() {
        return teamwork_name;
    }

    public void setTeamwork_name(String teamwork_name) {
        this.teamwork_name = teamwork_name;
    }

    public String getApprover_no() {
        return approver_no;
    }

    public void setApprover_no(String approver_no) {
        this.approver_no = approver_no;
    }

    public String getApprover_name() {
        return approver_name;
    }

    public void setApprover_name(String approver_name) {
        this.approver_name = approver_name;
    }

    public String getApprove_date() {
        return approve_date;
    }

    public void setApprove_date(String approve_date) {
        this.approve_date = approve_date;
    }

    public String getCreate_user_no() {
        return create_user_no;
    }

    public void setCreate_user_no(String create_user_no) {
        this.create_user_no = create_user_no;
    }

    public String getCreate_user_name() {
        return create_user_name;
    }

    public void setCreate_user_name(String create_user_name) {
        this.create_user_name = create_user_name;
    }

    public String getCreate_date() {
        return create_date;
    }

    public void setCreate_date(String create_date) {
        this.create_date = create_date;
    }

    public String getLast_modify_user_no() {
        return last_modify_user_no;
    }

    public void setLast_modify_user_no(String last_modify_user_no) {
        this.last_modify_user_no = last_modify_user_no;
    }

    public String getLast_modify_user_name() {
        return last_modify_user_name;
    }

    public void setLast_modify_user_name(String last_modify_user_name) {
        this.last_modify_user_name = last_modify_user_name;
    }

    public String getLast_modify_date() {
        return last_modify_date;
    }

    public void setLast_modify_date(String last_modify_date) {
        this.last_modify_date = last_modify_date;
    }

    public String getModify_user_no() {
        return modify_user_no;
    }

    public void setModify_user_no(String modify_user_no) {
        this.modify_user_no = modify_user_no;
    }

    public String getModify_user_name() {
        return modify_user_name;
    }

    public void setModify_user_name(String modify_user_name) {
        this.modify_user_name = modify_user_name;
    }

    public String getModify_date() {
        return modify_date;
    }

    public void setModify_date(String modify_date) {
        this.modify_date = modify_date;
    }

    public List<MoDetail> getWo_detail() {
        return wo_detail;
    }

    public void setWo_detail(List<MoDetail> wo_detail) {
        this.wo_detail = wo_detail;
    }
}
